Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: generate an HTML based output for a given CRD when format is defined #66

Merged
merged 2 commits into from
May 9, 2024

Conversation

Skarlso
Copy link
Owner

@Skarlso Skarlso commented May 9, 2024

Closes #58.

Now it's possible to generate an HTML based, standalone website instead of an YAML file.

Given, the following command:

cty generate -c sample-crd/infrastructure.cluster.x-k8s.io_awsclusters.yaml --comments --format HTML

A proper website is generated that can be deployed statically anywhere as documentation.

open sample-crd/awsclusters.infrastructure.cluster.x-k8s.io_sample.html
Screenshot 2024-05-09 at 10 54 07

@Skarlso Skarlso force-pushed the output-as-website branch from 9e73661 to 20192b6 Compare May 9, 2024 08:55
@Skarlso Skarlso force-pushed the output-as-website branch from 20192b6 to c6fdfb5 Compare May 9, 2024 08:56
@Skarlso Skarlso merged commit 022b372 into main May 9, 2024
2 checks passed
@Skarlso Skarlso deleted the output-as-website branch August 6, 2024 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

how get those nice rendered website?
1 participant